<html><head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Ast" rel="Chapter" href="Ast.html"><title>Ast.s_binop</title>
</head>
<body>
<code class="code"><span class="keyword">let</span>&nbsp;<span class="keyword">rec</span>&nbsp;s_binop&nbsp;=&nbsp;<span class="keyword">function</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpAdd</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"+"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpMult</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"*"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpDiv</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"/"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpSub</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"-"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpAssign</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"="</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpEq</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"=="</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpNotEq</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"!="</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpGte</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"&gt;="</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpLte</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"&lt;="</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpGt</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"&gt;"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpLt</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"&lt;"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpAnd</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"&amp;"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpOr</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"|"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpXor</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"^"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpBoolAnd</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"&amp;&amp;"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpBoolOr</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"||"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpShr</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"&gt;&gt;"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpUShr</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"&gt;&gt;&gt;"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpShl</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"&lt;&lt;"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpMod</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"%"</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpAssignOp</span>&nbsp;op&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;s_binop&nbsp;op&nbsp;^&nbsp;<span class="string">"="</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OpInterval</span>&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="string">"..."</span></code></body></html>